package cn.yunhe.services;

/**
 * Created by Administrator on 2018/6/9.
 */
public interface IXsTreamServices {
    /**
     *  object转化xml
     * @param obj
     * @return
     */
    String objectToXml(Object obj);
    /**
     * xml转为object
     * @param xml
     * @param cla
     * @param <T>
     * @return
     */
    <T> T xmlToObjext(String xml, Class<T> cla);
}

